﻿(function(){
	if ((/Android|iPhone|SymbianOS|Windows Phone|iPad|iPod/).test(navigator.userAgent)) {
		window.a = 'tap';
	}else{
		window.a = 'click';
	}
}());



function auto_size(){
var deviceWidth = document.documentElement.clientWidth;
console.log(deviceWidth);
if(deviceWidth > 640) deviceWidth = 640;
document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
}

auto_size()
window.onresize=function(){
	auto_size()
	console.log(1);
}


